<?php
class Material_IndexController extends Zend_Controller_Action {

	public function init() {
		$this->_helper->incLocalRes(array('mat.css','mat.js'));
		$model=new Material_Model_Tree();
		$res=$model->getTree();
		$this->view->res=$res;
	}
	
	public function indexAction() {
		$this->_helper->layout ()->setLayout ('blank');
		$this->_helper->incLocalRes(array('iframe.css'));
	}
	
	public function localAction() {
		$this->render('index');
	}
	

}
